
import request from '@/utils/request'

export default {
  //提交评价
  submitRate(rate) {
    return request({
      url: `/itservice/rate/submitRateToRedis/${rate}`,
      method: 'get'
    })
  },

  // 写入评分记录
  addRecord() {
    return request({
      url: '/itservice/raterecord/addRecord',
      method: 'get'
    })
  }
}
